Introduction

Contagious diseases in this modern era transcend geographical and political boundaries, thus posing a worldwide threat that jeopardizes all nations and individuals [1]. It is becoming a burning issue due to increasing morbidity and mortality [1]. Among the many contagious diseases present in developing countries, hepatitis B infection (HBI) is particularly widespread [2]. The fact that it is not well recognized by many people makes it even more dangerous because it can cause serious health effects, even death [3]. HBI (acute and chronic) of the liver that can lead to contagious liver disease, which is caused by the hepatitis B virus [4]. This chronic infection raises the possibility of difficulties such as liver failure, liver cirrhosis, cancer, and kidney disease [5, 6].

Viral hepatitis has a significant impact on people’s lives, societies, and healthcare systems [7]. Since 1990, mortality from viral hepatitis has climbed by 63%, making it the 7th leading cause of death globally [8]. It is extremely concerning because this is the only contagious disease whose death rates are increasing [8, 9]. In 2019, there were 296 million people affected by chronic hepatitis B, with 1.5 million new cases annually and it was accountable for 820,000 fatalities, the majority of which were due to hepatocellular carcinoma and cirrhosis (primary liver cancer) [5]. Now it is one of the world’s biggest public health issues because the hepatitis B virus (HBV) infects almost a third of people worldwide [10]. So, the third Sustainable Development Goal calls for the eradication of viral hepatitis, particularly HBI, by 2030 [11].

HBIs (chronic HBV) are comparatively common in the Southern part of Asia and Sub-Saharan Africa [4]. In Sub-Saharan Africa, the infection is reported to be 6.1%, with 87,890 deaths per year [5]. Several studies conducted in Ghana showed that the prevalence of HBI is higher than 10% among many research groups, including medical professionals [12]. Bangladesh, a country in South Asia, is in the HBV intermediate prevalence zone and it is a leading cause of illness, mainly chronic liver disease, and mortality [6]. It also responsible for 30% of acute hepatitis, 60% of liver cirrhosis, 75% of chronic hepatitis, and 65% of hepatocellular carcinoma in Bangladesh [6, 10]. A recent epidemiological study concluded that the general population of Bangladesh has an inadequate understanding of the control and management of HBI [13]. In the rural areas of Bangladesh, many people do not have appropriate knowledge about contagious disease (hepatitis B) [14]. They rely on different sources of knowledge and most of them are misconstrued, especially medical-related beliefs [15]. Consequently, Bangladesh ranks in the top ten countries in terms of viral hepatitis burden, with HBI accounting for the vast majority of cases, partly because of insufficient health education, illiteracy, poverty, and a lack of immunizations [16, 17]. From a public health perspective, an individual’s health-related behavior is influenced by his or her knowledge, attitudes, and practices (KAP) on a particular health condition [13, 18]. Given the limited healthcare resources in Bangladesh, assessing KAP towards hepatitis B in Bangladeshi people is crucial for reducing disease burden and developing policy schemes.

Several studies have been undertaken in Bangladesh to address this topic, particularly among the general population, students, patients and their attendants, nurses, and barbers [13, 19,20,21,22]. However, no studies have been conducted on KAP for hepatitis B among nursing students in Bangladesh. Nursing students are vulnerable to this infection (hepatitis B) as they are trainees of medical professionals and future healthcare workers. Since HBI is a public health issue and an occupational hazard for healthcare workers [11], nursing students must have a proper understanding of its preventive measures to protect themselves and raise awareness in the community. Moreover, the KAP for hepatitis B of nursing students can highlight the pre-requisite actions that should be implemented to avoid or minimize the transmission risk among healthcare workers as well as provide an approximate evaluation of non-medical people’s understanding [23]. To bridge the research gap, we aimed to assess how knowledge, attitudes, and socio-demographic factors are associated with preventive practices for HBI among a sample of nursing students in Bangladesh. We hypothesized that low knowledge, poor attitudes and socio-demographic factors would be associated with poor practices of HBI prevention among study participants.

Methods

Study area, participants, and sampling technique

This study was carried out among nursing students of the Barishal and Khulna divisions, specifically Khulna, Barishal, Jashore and Patuakhali districts in Bangladesh. These two divisions were purposefully chosen since, in Bangladesh, Barishal ranked second and Khulna ranked third, with 27% and 23% of cases of acute HBI, respectively [24]. Additionally, the incidences of nonalcoholic fatty liver disease and hepatic encephalopathy among chronic liver disease were also high [24]. Data collectors visited randomly selected nursing colleges. Participants were selected using a stratified random sampling technique. Stratification was performed considering various factors such as nursing program, year of study, and gender. The data was collected from the participants in their classroom during the break of their classes.

Inclusion and exclusion criteria

All the participants were in the diploma and midwifery nursing program. Male and female students were included within the age range between 18 and 26 because that is the satisfactory age range for nursing students. Second and final year students were chosen as participants for this research. The 1st year students were excluded from this study because of their less interaction with the patients. Moreover, nursing students undergoing internships were excluded due to their inaccessibility.

Sample size calculation

The Cochran formula was used to calculate the sample size [25]. The sample size was estimated based on the following parameters: (i) we used 50% as a predictive prevalence (i.e., p = 0.5) due to the lack of data on preventive practices towards hepatitis B among nursing students in Bangladesh, (ii) 95% confidence level (Z = 1.96), and (iii) 5% margin of error (e = 0.05).

Thus, minimum sample size for this study was, \( n=\frac{{z}^{2}pq}{{d}^{2}}= \frac{{\left(1.960\right)}^{2} \left(0.5\right) (1-0.5)}{{\left(0.05\right)}^{2}}\) = 384.16 ≈ 384

Using a 20% non-response rate, the optimum sample size was 461. Instead of 461 samples, we took 737 because larger samples better reflect the population and provide more accuracy.

Data collection tools, procedure, and quality control

A cross-sectional study was conducted between January and April 2023 among students at nursing colleges. A structured questionnaire was adopted from a previous study and modified to make it appropriate for our demographic [23]. For instance, we changed the demographic questions based on our country’s perspective (e.g., family income categories, academic year, etc.) and translated it to our native language for better understanding. Additionally, we changed some question categories to make it convenient for the students. During pilot testing, we asked the students about their understanding of the questionnaire and noted their feedback. Based on their feedback, we made some modifications without changing the actual meaning of the questions. The questionnaire was converted into Bengali from English and then back translated into English from Bengali by a translator to ensure that the questionnaire’s uniformity was maintained. An independent research assistant double-checked the procedure. Prior to data collection, a pilot test was done among 5% of our sample size. Uncertain questions were modified based on the results of the pilot testing. These 5% of participants were excluded in our main study population. A questionnaire-based data collection method was used to collect information. Prior to data collection, everyone was asked if he/she wanted to participate or not. We only collected data from those who willingly participated. If anyone said that they did not want to participate, we thanked them and went forward. Information was provided about the study’s aims and verbal consent was obtained from the participants. During the interview, individuals were also informed that their participation in this survey was entirely voluntary and they were under no obligation to continue.

Variable and measure

The survey questionnaire consisted of a total of 43 questions, which included 9 demographic variables (Part A), 18 questions to determine knowledge (Part B), 8 attitude-related questions to determine attitude (Part C), and 8 questions related to practice to determine practice (Part D). All participants were required to answer all the questions from Part A to Part D.

The knowledge questions contained three options: Yes, No, and Not sure. The scoring was 1 for each correct answer and 0 for each wrong answer. The total score for knowledge was 18 and was categorized as low (0–9), moderate (10–14), and high (15–18). The attitude section was coded on five-point Likert scale, with responses of “strongly agree,” “agree,” “uncertain,” “disagree,” and “strongly disagree.” The scoring for the attitude section was done in the same way as the knowledge section, with 1 for each correct answer and 0 for each wrong answer. The total score for attitudes was 8 and was categorized as poor (0–4), moderate (5–6), and good (7–8). Practice scoring and categories were the same as attitude [23].

Data analysis

The quantitative data was analyzed using SPSS for Windows Version 25.0. Descriptive statistics, such as frequency, percentages, mean, median and standard deviation were used to analyze the demographic details of the students. Chi-square test was done to see significant difference among the distribution. Logistic regression was performed to estimate the relationship between a dependent variable and one or more independent variable. Multicollinearity was checked before establishing logistic regression. In multinomial logistic regression analysis, the significant variables and those with p-value < 0.25 in the chi-square function were entered into adjusted regression model. The reliability test of the instrument was performed and the Cronbach’s alpha of knowledge was 0.712, attitude was 0.653 and practice was 0.678.

Results

Socio-demographic information

Of the total 737 participants, the majority were female (88.3%). The participants were between 18 and 24 years old. Two-thirds of participants (65.4%) were studying in the third year of their study. The majority of the respondents (95.5%) had no family history of hepatitis B. Table 1 presents participants’ socio-demographic data.

Table 1 Socio-demographic information of study participants (n = 737)

Knowledge, attitude, and practice of preventing hepatitis B infection

The overview of knowledge levels about HBI prevention among nursing students are highlighted in Table 2. The majority of the participants (90.5%) knew that the dsDNA virus is responsible for HBI. The study participants showed varying levels of knowledge about the clinical manifestations of HBI, with 74.6% identifying jaundice as a symptom, more than a half (55.1%) acknowledging that not all infected individuals display symptoms and three quarters (75.6%) acknowledging the infectiousness of carriers (Table 2).

Table 2 Knowledge of hepatitis B infection prevention among study participants (n = 737)

The summary of responses of attitudes towards HBI prevention is presented in Table 3. The majority of respondents (87.4%) believed that they were not at risk of getting a HBI, but 53.9% of them recognized that any blood exposure carries inherent risks (Table 3).

Table 3 Attitude towards hepatitis B infection prevention (n = 737)

Table 4 illustrates the practices taken by the nursing students to prevent HBI. The frequency of the practices was reported as; hepatitis B screening (65.4%), hepatitis B vaccination (68.4%), vaccination ≥ 3 doses (52.6%), post-hepatitis B vaccination antibody testing (8.7%), changed gloves per client (67.6%), never recapped needles (28.4%), never splashed blood on the body (52.9%) and sometimes needle stick injuries in the past (50.6%).

Table 4 Practice of hepatitis B infection prevention among study participants (n = 737)

Overall KAP scores for the prevention of hepatitis B infection

The mean (SD) knowledge score among study participants was 11.42 (± 2.88) on a scale of 17.00. The mean (SD) attitude score was 4.33 (± 1.91) out of 8.00. The mean practice score for preventing HBI was 4.27 (± 2.056) out of 8.00.

Overall, two-thirds of the respondents (65.8%) knowledge was moderate, and one-fifth (21.3%) was low. Nearly half of the respondents (49.3%) had poor attitudes toward HBI prevention. 53.2% participants had poor practice of HBI prevention and quarter of participants (25.1%) had moderate practices (Fig. 1).

Fig. 1
figure 1

Level of knowledge, attitude and practice of hepatitis B infection among study participants (n = 737)

Factors associated with preventive practices of hepatitis B infection

The chi-square test shows that participants’ marital status (chi-square, X2 = 11.176, p = 0.004), family history with HBI (X2 = 23.809, p = 0.000), knowledge (X2 = 33.702, p = 0.000) and attitude (X2 = 63.630, p = 0.000) were significantly correlated with the HBI prevention practice (Table 5). In addition, the findings of unadjusted multinomial regression analysis are shown in the Supplementary Table 1.

Table 5 Distribution of variables among nursing students by practice of hepatitis B infection prevention

Table 6 represents the results of adjusted estimated effects concerning factors related to hepatitis B prevention practice. Nursing students with low knowledge regarding HBI prevention were found to be approximately three times more likely to engage in poor prevention practices when compared to those with a higher level of knowledge (aOR = 2.562; 95% CI = 1.29–5.07; p = 0.007). Nursing students who had poor attitudes towards preventing HBI were approximately seven times more likely to demonstrate poor HBI prevention practice in contrast to those with good attitudes (aOR = 5.730; 95% CI = 3.19–10.28; p = 0.000). Also, in contrast to unmarried students, married students were found to have a reduced likelihood of exhibiting poor practices for preventing HBI (aOR = 0.320; 95% CI = 0.13–0.82; p = 0.017). Nursing students in the 19–20 age group exhibited a threefold higher likelihood of showing poor practices for HBI prevention compared to those in the 23–24 age group (aOR = 3.038; 95% CI = 1.30–7.09; p = 0.010). In contrast to 3rd year students, 2nd year students were about twofold more likely to execute poor practices of HBI prevention than good practices (aOR = 2.147; 95% CI = 1.19–3.86; p = 0.011). However, nursing students with a family history of HBI were less likely to practice poor HBI prevention than those without one (aOR = 0.134; 95% CI = 0.05–0.36; p = 0.000) in contrast to those without.

Table 6 Multinomial logistic regression analysis for determining factors affecting practice of hepatitis B infection prevention (n = 737)

Discussion

This study represents the first known research conducted in Bangladesh that demonstrates how nursing students’ knowledge, attitude and sociodemographic factors influence the prevention practice related to HBI. Overall, the study participants had moderate prevention knowledge of HBI. Several studies carried out in Ghana also demonstrate moderate knowledge, which is equivalent to our study [23, 26, 27]. In contrast to the current study, Hang Pham et al. in Vietnam found the poor knowledge of healthcare workers on the prevention of HBI [28]. The dissimilarity may be attributed to the smaller sample size of this study compared to ours. Our study outcome implies that the education on HBI prevention provided to these students was non-optimal. The poor knowledge led to an unfavorable environment and incapability, which made the nursing students unable to manage their own and other people’s health and that hindered effective disease prevention practice of HB. Therefore, empowering and motivating nursing students with consistent education is crucial for infection prevention.

The results of the current survey indicate a poor attitude towards HBI prevention among the study participants. Almualm et al. in Yemen also found that the vast majority of participants had a poor attitude about hepatitis B, which is parallel to our findings [29]. The findings differed from the study of Akazong et al. [30] who found a moderate level of attitude and Mursy and Mohamed et al. [18] who reported a good level of attitude about this infection prevention. The different outcomes observed across different studies may be attributed to the difference in assessing the attitude of working nurses in a hospital setting who possess work experience, in contrast to our study, which focuses on assessing the attitude of nursing students who are still in the process of studying and do not have any work experience. Balegha et al. suggest that the discrepancies in findings among different studies may be linked to the students’ differing levels of perception regarding the severity, risk and threat posed by HBI [23].

The findings of the present study disclosed that the practice of HBI prevention was poor. Balegha et al. [23], Afihene et al. [31], and Zaeri et al. [32] reported poor prevention practice for HBI. The findings are consistent to our study, as per their respective research studies. A significant proportion of the participants demonstrated a lack of practice regarding safety measures. The poor practice is caused by inadequate knowledge and awareness of HBI prevention [33]. However, the findings differed from the study by Mursy and Mohamed [18] in Sudan, which found safe practice towards HBI prevention. The observed dissimilarities can be attributed to variations in the respondents’ level of knowledge and attitude, as well as the principles of social cognitive theory [34].

There was a significant statistical correlation between having low knowledge about preventing HBI and an increased likelihood of engaging in poor practices to prevent HBI. This is coherent with previous studies in Ghana [27] and the Kingdom of Saudi Arabia [32].The correlation arises due to the adoption of the same sampling technique and analytical approach in both studies. This implies that acquiring insufficient knowledge impairs one’s health awareness [35], which can impede the adoption of preventive measures against hepatitis B, such as needle recapping after use to avoid exposure, among other activities. Low knowledge of HBI prevention hampers their ability to acquire and maintain the necessary skills that empower them to practice in the practical field.

Poor attitudes toward HBI prevention was highly correlated with a higher likelihood of poor practice. Similar findings were made by Ul-Haq et al. [36], Afihene et al. [31], and Balegha et al. [23] in Pakistan and Ghana. All the studies indicated that the participants exhibited poor attitudes, which were strongly associated with their inadequate practices regarding hepatitis B infection. Consistent with these findings, our study also identified a poor attitude among participants, thereby establishing a similarity between our study and the aforementioned research. The health belief model suggests that a negative attitude towards hepatitis B prevention, derived from the perception of seriousness, vulnerability, and the level of threat, can directly influence nursing students’ adherence to poor practices [37] Additionally, attitude and knowledge can interact to influence HBI practices [23]. Therefore, to promote the nursing student’s health, it is crucial to encourage them to adopt positive attitudes that help to maintain good practices towards individual and community health promotion.

The findings of this study revealed that participants in the 19 to 20 (younger) age group demonstrate a higher likelihood of poor practice in the prevention of HBI in contrast to those in the 23 to 24 (elderly) age group. A study conducted in Ethiopia [38] refutes our finding; they found that elderly students were more likely to have poor practice than younger students. These discrepancies are most likely due to the variations in the focus on different target group. However, one possible link could be that their knowledge grew with education [37].The elderly are at a greater risk of being exposed to HBI compared to younger ones [39], which may make them more sincere about hepatitis B prevention practice.

This study found that married participants had a reduced likelihood of poor practices toward HBI prevention as compared to unmarried participants, which is analogous to a previous study conducted in Malaysia [40] but the results obtained in Nepal [41] and Lagos State in Nigeria [42] were not congruent. Marriage fosters a feeling of responsibility and health consciousness [43], leading to the prioritization of health and disease prevention [40], including hepatitis B prevention. However, further research is required to properly investigate the exact role of marriage in promoting HBI prevention practices.

Second-year nursing students demonstrated a higher likelihood of poor HBI prevention practice compared to their third-year counterparts. An approach employed in Ghana by Osei et al. [27] differed from ours. This is due to the comparison made between first-year and second-year students in this study, whereas our study compares students between the second and third years. However, prolonged education and training provide individuals with the necessary skills and knowledge to effectively implement preventative measures, like the good practice of HBI [23].

The current study found that nursing students who have a family history of HBI exhibit a decreased likelihood of engaging in inadequate HBI prevention practices, in contrast to those who lack such a history. Ahmad et al. [40] and Brouard et al. [44] found that people with a family history of HB tend to have better knowledge about the disease than those without such a familiar background. Furthermore, knowledge of one’s family health history can provide valuable information regarding their predisposition to specific illnesses or diseases, allowing for informed decisions regarding lifestyle choices and preventative practices [45] and this information can facilitate the navigation of the healthcare system and result in the provision of optimal medical care.

Strength and limitation

This is one of the first studies to look into the factors that affect the practice towards the prevention of HBI among nursing students in the southern region of Bangladesh. Thus, the study’s findings give baseline data that will aid policymakers and public health specialists in developing preventive strategies to reduce HBI in Bangladesh. Another significant aspect of this study is its large sample size, as well as its appropriate methodological and statistical procedures. However, some limitations of our study should be considered. For example, we cannot determine the causal associations due to the cross-sectional study design. During the pre-testing phase of the questionnaire a small group of students were involved, and the same school was used for data collection. It is understandable that some questions may have been discussed by these students with their classmates who participated in the study later. Since the data was collected by the self-administered questionnaire, self-reported bias may be present. Furthermore, some environmental impacts may influence the students during data collection. Such as, the classroom used for data collection was designed for examinations which may put pressure on the students as they are attending the real exam. Despite all these probable influences, it is noteworthy that the data collection went smoothly without any external pressure. The participants completed the questionnaire independently. A clear clarification was given to all the students that their participation was entirely voluntary and that it was not an examination.

Conclusion

An undesirable level of KAP scores related to the prevention of HBI among nursing students was found in our study. We observed that factors such as low knowledge, suboptimal attitude and other variables like age, marital status, academic status and family history with HBI play a role in shaping the practice of HBI prevention. Specifically, we proposed some recommendations to effectively enhance the prevention practice of HBI and promote the overall health of nursing students. Firstly, in health services, hepatitis B screening, treatment and vaccination services must be free or subsidized. It will ensure that all necessary health care resources have easy access to nursing students when they are practicing. Secondly, the establishment of advocacy and institutional policies. These institution-based policies have to be established for the prevention of HBI. Advocacy efforts can help increase commitment to this cause and raise awareness, which helps to enhance the tendency of adequate practice among students. Thirdly, education and awareness. An environment has to be created through education and awareness programs dedicated to the prevention practice of HBI. These programs should provide knowledge and skills of practice to the nursing students, which they need to protect themselves and others. Finally, skill development. Development of potential skills related to the prevention of HBI, such as strategies to avoid needle stick injuries. Most importantly, professional ethics in health care settings must be emphasized to ensure good practice.